z=int(input('输入乘坐的站数：'))
if z<=5:
    print('票价2元')
elif z>5 and z<=10:
    print('票价3元')
elif z>10 and z<=16:
    print('票价4元')
else:
    print('票价5元')
